<?php
/**
 * (commands) shopify订单
 */
namespace App\Console\Commands\OrderShopifyApi\Order;

use App\Crontab\Minute\ShopifyApi\GrabShopifyOrder;
use App\Logic\Plat\Shopify\GrabOrders;
use Illuminate\Console\Command;
class GetOrders extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'shopify-api:get-orders';

    /**
     * The console command description.
     * @var string
     */
    protected $description = 'exe func';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     */
    public function handle()
    {
        GrabOrders::getShopifyOrder();
        $this->info('finish!');

        //GrabShopifyOrder::grab();
        //$this->info('finish!');
    }
}
